package Oct_2020.part1;

public class Manager extends Employee {

    public Manager(String name, boolean sex, int age, double salary) {
        super(name, sex, age, salary);
    }
    private double Cash;


    public void setCash(double cash) {
        this.Cash = cash;
    }

    @Override
    public double getSalary() {
        return super.getSalary()+Cash;
    }
}
